package com.zby.ss.autowiretype.byTye.dao.impl;

import com.zby.ss.autowiretype.byTye.dao.GenericDao;

import java.util.List;

/**
 * Created By zby on 10:08 2019/2/14
 */

public class genericDaoImpl<T> implements GenericDao<T> {

    private Class<T> persistenceClass;

    public genericDaoImpl(Class<T> persistenceClass) {
        this.persistenceClass = persistenceClass;
    }

    @Override
    public <T> List<T> list() {
        System.out.println("method list persistenceClass = "+persistenceClass.getSimpleName());
        return null;
    }

    @Override
    public T save() {
        return null;
    }

}
